package history

class Account {
    String login
    String pw
    String name
    String memo
    static belongsTo = [team:Team]
    
    static constraints = {
        login(blank:false,unique:true)
        name(blank:false)
        pw(blank:false)
        memo(nullable:true)
        team(nullable:true)
    }
    
    String toString(){
        name
    }
}
